# Maintainer: Diego Jara <djara@bitorical.com>
pkgname=font-crosextra-carlito
pkgver=20130920
pkgrel=1
pkgdesc="Sans-serif font metric-compatible with Calibri font"
url="https://code.google.com/p/chromium/issues/detail?id=280557"
options="!check" # no test suite
arch="noarch"
license="OFL-1.1"
depends="fontconfig encodings mkfontdir mkfontscale"
subpackages="$pkgname-doc"
source="https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-$pkgver.tar.gz"

package() {
	install -Dm644 -t "$pkgdir"/usr/share/fonts/TTF "$srcdir"/crosextrafonts-carlito-"$pkgver"/*.ttf
	install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname/LICENSE "$srcdir"/crosextrafonts-carlito-"$pkgver"/LICENSE
}

sha512sums="eb516060487d30353e06de711921c0d54c5844f2be69b1c1d37edac4b27303e9213a6bb306f309dc5827b2a6a2a37c9cb85b62368164eba6dd397dbaab3e3ba0  crosextrafonts-carlito-20130920.tar.gz"
